<!DOCTYPE html>
<!--引入thymeleaf标签-->
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>thymeleaf</title>
</head>
<style type="text/css">
    #d{color: red}
</style>
<body>
<div id="d" th:inline="text">
    [[${a}]]
</div>
</body>
</html>